# Contributor: Shyam Sunder <sgsunder1@gmail.com>
# Maintainer: Shyam Sunder <sgsunder1@gmail.com>
pkgname=ctop
pkgver=0.7.2
pkgrel=2
pkgdesc="Top-like interface for container metrics"
url="https://ctop.sh/"
arch="all !mips !mips64" # blocked by docker, dep
license="MIT"
depends="docker"
makedepends="go dep"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/bcicen/$pkgname/archive/v$pkgver.tar.gz"

build() {
	make build
}

package() {
	install -Dm755 "$builddir"/ctop \
		"$pkgdir"/usr/bin/ctop
}

sha512sums="d5ef30800534b85b41215170f588cf2ad6460fb7a3fb1d1921ff1f8a7e6c515c76cdb2a089da1ae91067b3893e8a83fcea5616c2ace372bca2394dd57e22c887  ctop-0.7.2.tar.gz"
